package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.YaoluBankFlow;
import cn.stylefeng.guns.sys.modular.system.model.params.YaoluBankFlowParam;
import cn.stylefeng.guns.sys.modular.system.model.result.YaoluBankFlowResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuy
 * @since 2022-06-20
 */
public interface YaoluBankFlowService extends IService<YaoluBankFlow> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2022-06-20
     */
    void add(YaoluBankFlowParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2022-06-20
     */
    void delete(YaoluBankFlowParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2022-06-20
     */
    void update(YaoluBankFlowParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2022-06-20
     */
    YaoluBankFlowResult findBySpec(YaoluBankFlowParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2022-06-20
     */
    List<YaoluBankFlowResult> findListBySpec(YaoluBankFlowParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2022-06-20
     */
     LayuiPageInfo findPageBySpec(YaoluBankFlowParam param);

    void insertYaoluBankFlow(List<YaoluBankFlow> list);

    List<YaoluBankFlowResult>bankListByDm(YaoluBankFlowParam paramCondition);

    List<YaoluBankFlowResult>bankZcListByDm(YaoluBankFlowParam param);

    List<YaoluBankFlowResult> dmList();
}
